<template>
  <div class="myReputation">
    <van-icon class="user-avator" name="user-circle-o" />
    <div class="detail-info">
        <section class="usernick"><h3>{{rep.user.nick}}</h3><span>{{rep.goods.goodReputationStr}}</span></section>
        <p class="remark">{{rep.goods.goodReputationRemark}}</p>
        <section class="dateRep">
            <p>{{rep.goods.dateReputation}}</p>
            <p>选择规格：{{rep.goods.property}}</p>
        </section>
    </div>
 </div>
</template>

<script>
export default {
  name: '',
  props: {
      rep: Object
  },
  data() { 
    return {

    }
  },
  created() {

  },
  methods:{

  },
 }
</script>

<style scoped lang="scss">
.myReputation {
    display: flex;
    border-bottom: 1px solid #E9E9E9;
    padding: 20px 0;
    .user-avator {
        font-size: 120px;
        margin: 0 30px;
    }
    .detail-info {
        font-size: 26px;
        .usernick {
            display: flex;
            align-items: center;
            margin-bottom: 24px;
            h3 {
                margin-right: 30px;
            }
            span {
                width: 70px;
                height: 46px;
                line-height: 46px;
                text-align: center;
                color: #fff;
                background-color: #B7282E;
                border-radius: 8px;
                font-size: 24px;
                font-weight: bold;
            }
        }
        .remark {
            margin-bottom: 24px;
        }
        .dateRep {
            width: 100%;
            display: flex;
            justify-content: space-between;
            color: #b2b2b2;
            line-height: 40px;
        }
    }
}
</style>